package com.tucy.logistics.common.entity.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Size;

/**
 * author: tcy
 * createDate: 2023/9/7
 * description: 菜单页面渲染的元素
 */
@Data
public class SystemMenuMeta {

    @Size(max= 255,message="编码长度不能超过255")
    @ApiModelProperty("标题")
    @Length(max= 255,message="编码长度不能超过255")
    private String title;

    @Size(max= 255,message="编码长度不能超过255")
    @ApiModelProperty("菜单图标")
    @Length(max= 255,message="编码长度不能超过255")
    private String icon;

    @ApiModelProperty("面包屑导航")
    private Boolean breadcrumb;

}
